﻿
namespace Pfz.RemoteGaming
{
	/// <summary>
	/// This class represents a change of a component property value.
	/// </summary>
	public sealed class RemoteGamePropertyChange
	{
		internal RemoteGamePropertyChange(object oldValue, object newValue)
		{
			_oldValue = oldValue;
			_newValue = newValue;
		}

		private readonly object _oldValue;
		/// <summary>
		/// Gets the old value of the property.
		/// </summary>
		public object OldValue
		{
			get
			{
				return _oldValue;
			}
		}

		private readonly object _newValue;
		/// <summary>
		/// Gets the new value of the property.
		/// </summary>
		public object NewValue
		{
			get
			{
				return _newValue;
			}
		}
	}
}
